package com.erp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author pengyujin
 * @date 2020/11/10 12:02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Loginfo implements Serializable {
   
    private static final long serialVersionUID = 1L;
    
    private Integer id;
    
    private String loginName;
    
    private String loginIp;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
